package com.jlkf.pojo;

import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotNull;
import java.util.Date;

public class User {
    @NotNull
    private Long id;

    private String userAccount;
  //作为lastName
    private String name;

    private String telephone;

    private String password;

    private String inviattionCode;

    private Integer sex;

    private Integer age;

    private String picture;

    private String email;

    private Integer identity;

    private Integer shareNum;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date createTime;

    private Double remark;

    private Long cityId;

    private String cardId;

    private String licenceType;

    private String licenceImg;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date licenceValidity;

    private String address;

    private String company;

    private Integer rideLike;

    private String detail;

    private Long isSethonor;

    private Integer driverStatus;

    private Integer isDeleted;
    @DateTimeFormat(pattern = "dd/MM/yyyy")
    private Date loginTime;

    private Integer isOnline;

    private String qualification;

    private String postcode;
    //使用语言
    private Integer language;
    
    private String vCode;
    
    private String facebookOpenId;
    
    private Long carId;
    
    private Integer is_last_order;
    
    private String firstName;
    
    private String middleName;
    //使用平台
    private String auroraAlias;
    //营业执照号码
    private String businessLicense;
   //被邀请邀请码
    private String beinvitecode;
    private Integer invitenum;
    private Double consumetotal;
    private Double mileage;
    @DateTimeFormat(pattern = "dd/MM/yyyy")
    private Date birthday;
    
    private String applicantDetails;
    
    private String rongCloudToken;
    
    private Integer availableMoney;
    
    private String retypePassword;
    
    private Integer notOrder;
    
    private String businessesPayCard;
    
    private Date exitTime;
    
    private String sortname;
    
    private String order;
    //用户端 分享H5页面P060 填写被邀请人电话    该电话记录我邀请的人电话 多个用逗号隔开
    private String userBeinvitephone;
    //车辆数
    private Integer carCount;
    //使用设备 极光推送唯一标识
    private String useEquipment;
    
    private String giving_feedback;
    
    private String counts;
    //用户下单次数记录
    private Integer userOrderCount;
    
    private UserBrank ub;
    //招聘汽车执照
    private String  hireCarLicense;
    //司机接受惩罚的开始时间
    private Long punishmentOfTime;
    //用户优惠劵对象  后台oa添加用户时使用
    private UserCoupon uc;
    //司机认证
    private String driverAccreditation;
    
    private String abn;
    
    public UserBrank getUb() {
		return ub;
	}

	public void setUb(UserBrank ub) {
		this.ub = ub;
	}

	public String getBeinvitecode() {
        return beinvitecode;
    }

    public void setBeinvitecode(String beinvitecode) {
        this.beinvitecode = beinvitecode;
    }

    public Integer getInvitenum() {
        return invitenum;
    }

    public void setInvitenum(Integer invitenum) {
        this.invitenum = invitenum;
    }

    public Double getConsumetotal() {
        return consumetotal;
    }

    public void setConsumetotal(Double consumetotal) {
        this.consumetotal = consumetotal;
    }

    public Double getMileage() {
        return mileage;
    }

    public void setMileage(Double mileage) {
        this.mileage = mileage;
    }
    
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUserAccount() {
        return userAccount;
    }

    public void setUserAccount(String userAccount) {
        this.userAccount = userAccount == null ? null : userAccount.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone == null ? null : telephone.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public String getInviattionCode() {
        return inviattionCode;
    }

    public void setInviattionCode(String inviattionCode) {
        this.inviattionCode = inviattionCode == null ? null : inviattionCode.trim();
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture == null ? null : picture.trim();
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public Integer getIdentity() {
        return identity;
    }

    public void setIdentity(Integer identity) {
        this.identity = identity;
    }

    public Integer getShareNum() {
        return shareNum;
    }

    public void setShareNum(Integer shareNum) {
        this.shareNum = shareNum;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Double getRemark() {
        return remark;
    }

    public void setRemark(Double remark) {
        this.remark = remark;
    }

    public Long getCityId() {
        return cityId;
    }

    public void setCityId(Long cityId) {
        this.cityId = cityId;
    }

    public String getCardId() {
        return cardId;
    }

    public void setCardId(String cardId) {
        this.cardId = cardId == null ? null : cardId.trim();
    }

    public String getLicenceType() {
        return licenceType;
    }

    public void setLicenceType(String licenceType) {
        this.licenceType = licenceType == null ? null : licenceType.trim();
    }

    public String getLicenceImg() {
        return licenceImg;
    }

    public void setLicenceImg(String licenceImg) {
        this.licenceImg = licenceImg == null ? null : licenceImg.trim();
    }

    public Date getLicenceValidity() {
        return licenceValidity;
    }

    public void setLicenceValidity(Date licenceValidity) {
        this.licenceValidity = licenceValidity;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company == null ? null : company.trim();
    }

    public Integer getRideLike() {
        return rideLike;
    }

    public void setRideLike(Integer rideLike) {
        this.rideLike = rideLike;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail == null ? null : detail.trim();
    }

    public Long getIsSethonor() {
        return isSethonor;
    }

    public void setIsSethonor(Long isSethonor) {
        this.isSethonor = isSethonor;
    }

    public Integer getDriverStatus() {
        return driverStatus;
    }

    public void setDriverStatus(Integer driverStatus) {
        this.driverStatus = driverStatus;
    }

    public Integer getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }

    public Date getLoginTime() {
        return loginTime;
    }

    public void setLoginTime(Date loginTime) {
        this.loginTime = loginTime;
    }

    public Integer getIsOnline() {
        return isOnline;
    }

    public void setIsOnline(Integer isOnline) {
        this.isOnline = isOnline;
    }

    public String getQualification() {
        return qualification;
    }

    public void setQualification(String qualification) {
        this.qualification = qualification == null ? null : qualification.trim();
    }

    public String getPostcode() {
        return postcode;
    }

    public void setPostcode(String postcode) {
        this.postcode = postcode == null ? null : postcode.trim();
    }

	public Integer getLanguage() {
		return language;
	}

	public void setLanguage(Integer language) {
		this.language = language;
	}

	public String getvCode() {
		return vCode;
	}

	public void setvCode(String vCode) {
		this.vCode = vCode;
	}

	public String getFacebookOpenId() {
		return facebookOpenId;
	}

	public void setFacebookOpenId(String facebookOpenId) {
		this.facebookOpenId = facebookOpenId;
	}

	public Long getCarId() {
		return carId;
	}

	public void setCarId(Long carId) {
		this.carId = carId;
	}

	public Integer getIs_last_order() {
		return is_last_order;
	}

	public void setIs_last_order(Integer is_last_order) {
		this.is_last_order = is_last_order;
	}

	public String getFirstName() {
		return firstName;
	}

	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}

	public String getMiddleName() {
		return middleName;
	}

	public void setMiddleName(String middleName) {
		this.middleName = middleName;
	}

	public String getAuroraAlias() {
		return auroraAlias;
	}

	public void setAuroraAlias(String auroraAlias) {
		this.auroraAlias = auroraAlias;
	}

	public String getBusinessLicense() {
		return businessLicense;
	}

	public void setBusinessLicense(String businessLicense) {
		this.businessLicense = businessLicense;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public String getApplicantDetails() {
		return applicantDetails;
	}

	public void setApplicantDetails(String applicantDetails) {
		this.applicantDetails = applicantDetails;
	}

	public String getRongCloudToken() {
		return rongCloudToken;
	}

	public void setRongCloudToken(String rongCloudToken) {
		this.rongCloudToken = rongCloudToken;
	}

	public Integer getAvailableMoney() {
		return availableMoney;
	}

	public void setAvailableMoney(Integer availableMoney) {
		this.availableMoney = availableMoney;
	}

	public String getRetypePassword() {
		return retypePassword;
	}

	public void setRetypePassword(String retypePassword) {
		this.retypePassword = retypePassword;
	}

	public Integer getNotOrder() {
		return notOrder;
	}

	public void setNotOrder(Integer notOrder) {
		this.notOrder = notOrder;
	}

	public String getBusinessesPayCard() {
		return businessesPayCard;
	}

	public void setBusinessesPayCard(String businessesPayCard) {
		this.businessesPayCard = businessesPayCard;
	}

	public Date getExitTime() {
		return exitTime;
	}

	public void setExitTime(Date exitTime) {
		this.exitTime = exitTime;
	}

	public String getSortname() {
		return sortname;
	}

	public void setSortname(String sortname) {
		this.sortname = sortname;
	}

	public String getOrder() {
		return order;
	}

	public void setOrder(String order) {
		this.order = order;
	}

	public String getUserBeinvitephone() {
		return userBeinvitephone;
	}

	public void setUserBeinvitephone(String userBeinvitephone) {
		this.userBeinvitephone = userBeinvitephone;
	}

	public Integer getCarCount() {
		return carCount;
	}

	public void setCarCount(Integer carCount) {
		this.carCount = carCount;
	}

	public String getUseEquipment() {
		return useEquipment;
	}

	public void setUseEquipment(String useEquipment) {
		this.useEquipment = useEquipment;
	}

	public String getGiving_feedback() {
		return giving_feedback;
	}

	public void setGiving_feedback(String giving_feedback) {
		this.giving_feedback = giving_feedback;
	}

	public String getCounts() {
		return counts;
	}

	public void setCounts(String counts) {
		this.counts = counts;
	}

	public Integer getUserOrderCount() {
		return userOrderCount;
	}

	public void setUserOrderCount(Integer userOrderCount) {
		this.userOrderCount = userOrderCount;
	}

	public String getHireCarLicense() {
		return hireCarLicense;
	}

	public void setHireCarLicense(String hireCarLicense) {
		this.hireCarLicense = hireCarLicense;
	}

	public Long getPunishmentOfTime() {
		return punishmentOfTime;
	}

	public void setPunishmentOfTime(Long punishmentOfTime) {
		this.punishmentOfTime = punishmentOfTime;
	}

	public UserCoupon getUc() {
		return uc;
	}

	public void setUc(UserCoupon uc) {
		this.uc = uc;
	}

	public String getAbn() {
		return abn;
	}

	public void setAbn(String abn) {
		this.abn = abn;
	}

	public String getDriverAccreditation() {
		return driverAccreditation;
	}

	public void setDriverAccreditation(String driverAccreditation) {
		this.driverAccreditation = driverAccreditation;
	}
	
}